package com.citi.infocambio.siscomex.client.parser;


public class GeneralDataHTMLParser extends BaseHTMLParser {
	
	private static final String XSL = "com/citi/infocambio/siscomex/client/xsl/generaldata.xsl";

	public GeneralDataHTMLParser(String html) {
		super(html, XSL);
	}

	@Override
	protected String[] getStringsToRemove() {
		return new String[] {"&nbsp;"};
	}

	@Override
	protected CropDef[] getCrops() {
		return new CropDef[] {
			new CropDef("<div id=\"dados-gerais\">", "</div>")	
		};
	}

	@Override
	protected String[] getUnbalancedInputs() {
		return new String[] {"nmImportador", "edImportador", "vlMargemNaoSacada", "vlMargemNaoSacadaTela", "vlComCobertura", "vlSemCobertura", "vlTotalOperacao", "vlSaldoOperacao", "vlFinanciamento", "vlConsignacao", "utilizaMargemNaoSacada"};
	}

}
